package com.qf.shopping.vo.carVO;

import com.qf.shopping.pojo.car.Car;

/**
 * @author Humy
 * @date 2019/4/16 19:18
 */
public class CarConstom extends Car {
    //如果需要在原来的这个类上进行拓展的话 那么就在这个里面来进行拓展

    //厂商id
    private Long manufacturerId;

    //车系名字
    private String modelName;

    //所属年款
    private String year;

//    //分页数据：当前页数
//    private Integer pageNum;
//
//    //分页数据：页面大小
//    private Integer pageSize;

    public Long getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(Long manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

//    public Integer getPageNum() {
//        return pageNum;
//    }
//
//    public void setPageNum(Integer pageNum) {
//        this.pageNum = pageNum;
//    }
//
//    public Integer getPageSize() {
//        return pageSize;
//    }
//
//    public void setPageSize(Integer pageSize) {
//        this.pageSize = pageSize;
//    }

    @Override
    public String toString() {
        return "CarConstom{" +
                super.toString()+
                "manufacturerId=" + manufacturerId +
                ", modelName=" + modelName +
                ", year='" + year + '\'' +
                '}';
    }
}
